You cannot set the note ID in any way.
In C++? Then I have changed my mind. (Apologies, Nathan.) You can use C API functions (or perhaps C++ API) to create an empty document with the universal ID that you want. Then you can use DXL import to update this document with the real data.
I think you cannot set the universal ID and do the DXL import in one step.